<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Robocup-denayer-project-a: read-only/trunk/source/muismove.h Bron Bestand</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Gegenereerd door Doxygen 1.7.1 -->
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="main.html"><span>Hoofd&nbsp;Pagina</span></a></li>
      <li><a href="annotated.html"><span>Klassen</span></a></li>
      <li class="current"><a href="files.html"><span>Bestanden</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&nbsp;Lijst</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;members</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>read-only/trunk/source/muismove.h</h1>  </div>
</div>
<div class="contents">
<a href="muismove_8h.html">Ga naar de documentatie van dit bestand.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00009"></a>00009 <span class="preprocessor">#ifndef MUISMOVE_H_</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor">#define MUISMOVE_H_</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#include &lt;math.h&gt;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;cstdlib&gt;</span>
<a name="l00013"></a>00013 
<a name="l00014"></a><a class="code" href="muismove_8h.html#a2116ac3a395c90ec2986c3f1869b7921">00014</a> <span class="preprocessor">#define NAU 250</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span>
<a name="l00016"></a>00016 <span class="comment">// Muismove class definition</span>
<a name="l00017"></a><a class="code" href="class_muis_move.html">00017</a> <span class="keyword">class </span><a class="code" href="class_muis_move.html">MuisMove</a> 
<a name="l00018"></a>00018 {
<a name="l00019"></a>00019         <span class="keyword">public</span>:
<a name="l00020"></a>00020                 <span class="comment">// constructor  </span>
<a name="l00021"></a>00021                 <a class="code" href="class_muis_move.html#a0d1ebfefa229034b0bb03046b80c5c9b">MuisMove</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y);
<a name="l00022"></a>00022                 <a class="code" href="class_muis_move.html#abd86f71e2febe6ee90c256eee34301b0">~MuisMove</a>(<span class="keywordtype">void</span>);
<a name="l00023"></a>00023 
<a name="l00024"></a>00024                 <span class="keywordtype">void</span> <a class="code" href="class_muis_move.html#ac48e1ea45c6a0d885bb18dcd76c00f54">addMove</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y);      
<a name="l00025"></a>00025                 <span class="keywordtype">int</span> <a class="code" href="class_muis_move.html#a815f0134e9b3501ed2952d029b6c1898">getX</a>(<span class="keywordtype">void</span>);
<a name="l00026"></a>00026                 <span class="keywordtype">int</span> <a class="code" href="class_muis_move.html#aaf9b41783d315875c8cfb28851506db8">getY</a>(<span class="keywordtype">void</span>);
<a name="l00027"></a>00027                 <span class="keywordtype">int</span> <a class="code" href="class_muis_move.html#afc60b48d03c7ef0482484b9c23851ce3">getD</a>(<span class="keywordtype">void</span>);<span class="comment">//afgelegde weg (NAU-&gt;vanaf hoeveel muispixels zeker berekenen)</span>
<a name="l00028"></a>00028                 <span class="keywordtype">int</span> <a class="code" href="class_muis_move.html#a76145ec3b640cd9ac36af77ed8bb3a46">getAbs</a>(<span class="keywordtype">void</span>);<span class="comment">//afstand</span>
<a name="l00029"></a>00029                 <span class="keywordtype">void</span> <a class="code" href="class_muis_move.html#a16f4c4e59ab689426638e3e2951e3f64">reset</a>(<span class="keywordtype">void</span>);<span class="comment">//alles op nul</span>
<a name="l00030"></a>00030         <span class="keyword">private</span>:
<a name="l00031"></a>00031                 <span class="keywordtype">int</span> x,y,weg,dx,dy,adx,ady;
<a name="l00032"></a>00032 }; 
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="preprocessor">#endif </span><span class="comment">/* MUISMOVE_H_ */</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Gegenereerd op Wo 30 Maa 2011 23:59:21 voor Robocup-denayer-project-a door&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
